package com.itheima.dao;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author weizhongli
 * @Date 2020/4/22
 * @Version v1.0
 * @Description
 **/
@Mapper  //声明是一个Mapper接口
@Repository //注入到spring容器中
public interface UserDao {


    List<User> findAll();
}
